package com.weimall.pojo;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ZcZbExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ZcZbExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("ID like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("ID not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andMcIsNull() {
            addCriterion("MC is null");
            return (Criteria) this;
        }

        public Criteria andMcIsNotNull() {
            addCriterion("MC is not null");
            return (Criteria) this;
        }

        public Criteria andMcEqualTo(String value) {
            addCriterion("MC =", value, "mc");
            return (Criteria) this;
        }

        public Criteria andMcNotEqualTo(String value) {
            addCriterion("MC <>", value, "mc");
            return (Criteria) this;
        }

        public Criteria andMcGreaterThan(String value) {
            addCriterion("MC >", value, "mc");
            return (Criteria) this;
        }

        public Criteria andMcGreaterThanOrEqualTo(String value) {
            addCriterion("MC >=", value, "mc");
            return (Criteria) this;
        }

        public Criteria andMcLessThan(String value) {
            addCriterion("MC <", value, "mc");
            return (Criteria) this;
        }

        public Criteria andMcLessThanOrEqualTo(String value) {
            addCriterion("MC <=", value, "mc");
            return (Criteria) this;
        }

        public Criteria andMcLike(String value) {
            addCriterion("MC like", value, "mc");
            return (Criteria) this;
        }

        public Criteria andMcNotLike(String value) {
            addCriterion("MC not like", value, "mc");
            return (Criteria) this;
        }

        public Criteria andMcIn(List<String> values) {
            addCriterion("MC in", values, "mc");
            return (Criteria) this;
        }

        public Criteria andMcNotIn(List<String> values) {
            addCriterion("MC not in", values, "mc");
            return (Criteria) this;
        }

        public Criteria andMcBetween(String value1, String value2) {
            addCriterion("MC between", value1, value2, "mc");
            return (Criteria) this;
        }

        public Criteria andMcNotBetween(String value1, String value2) {
            addCriterion("MC not between", value1, value2, "mc");
            return (Criteria) this;
        }

        public Criteria andXhggIsNull() {
            addCriterion("XHGG is null");
            return (Criteria) this;
        }

        public Criteria andXhggIsNotNull() {
            addCriterion("XHGG is not null");
            return (Criteria) this;
        }

        public Criteria andXhggEqualTo(String value) {
            addCriterion("XHGG =", value, "xhgg");
            return (Criteria) this;
        }

        public Criteria andXhggNotEqualTo(String value) {
            addCriterion("XHGG <>", value, "xhgg");
            return (Criteria) this;
        }

        public Criteria andXhggGreaterThan(String value) {
            addCriterion("XHGG >", value, "xhgg");
            return (Criteria) this;
        }

        public Criteria andXhggGreaterThanOrEqualTo(String value) {
            addCriterion("XHGG >=", value, "xhgg");
            return (Criteria) this;
        }

        public Criteria andXhggLessThan(String value) {
            addCriterion("XHGG <", value, "xhgg");
            return (Criteria) this;
        }

        public Criteria andXhggLessThanOrEqualTo(String value) {
            addCriterion("XHGG <=", value, "xhgg");
            return (Criteria) this;
        }

        public Criteria andXhggLike(String value) {
            addCriterion("XHGG like", value, "xhgg");
            return (Criteria) this;
        }

        public Criteria andXhggNotLike(String value) {
            addCriterion("XHGG not like", value, "xhgg");
            return (Criteria) this;
        }

        public Criteria andXhggIn(List<String> values) {
            addCriterion("XHGG in", values, "xhgg");
            return (Criteria) this;
        }

        public Criteria andXhggNotIn(List<String> values) {
            addCriterion("XHGG not in", values, "xhgg");
            return (Criteria) this;
        }

        public Criteria andXhggBetween(String value1, String value2) {
            addCriterion("XHGG between", value1, value2, "xhgg");
            return (Criteria) this;
        }

        public Criteria andXhggNotBetween(String value1, String value2) {
            addCriterion("XHGG not between", value1, value2, "xhgg");
            return (Criteria) this;
        }

        public Criteria andSccjIsNull() {
            addCriterion("SCCJ is null");
            return (Criteria) this;
        }

        public Criteria andSccjIsNotNull() {
            addCriterion("SCCJ is not null");
            return (Criteria) this;
        }

        public Criteria andSccjEqualTo(String value) {
            addCriterion("SCCJ =", value, "sccj");
            return (Criteria) this;
        }

        public Criteria andSccjNotEqualTo(String value) {
            addCriterion("SCCJ <>", value, "sccj");
            return (Criteria) this;
        }

        public Criteria andSccjGreaterThan(String value) {
            addCriterion("SCCJ >", value, "sccj");
            return (Criteria) this;
        }

        public Criteria andSccjGreaterThanOrEqualTo(String value) {
            addCriterion("SCCJ >=", value, "sccj");
            return (Criteria) this;
        }

        public Criteria andSccjLessThan(String value) {
            addCriterion("SCCJ <", value, "sccj");
            return (Criteria) this;
        }

        public Criteria andSccjLessThanOrEqualTo(String value) {
            addCriterion("SCCJ <=", value, "sccj");
            return (Criteria) this;
        }

        public Criteria andSccjLike(String value) {
            addCriterion("SCCJ like", value, "sccj");
            return (Criteria) this;
        }

        public Criteria andSccjNotLike(String value) {
            addCriterion("SCCJ not like", value, "sccj");
            return (Criteria) this;
        }

        public Criteria andSccjIn(List<String> values) {
            addCriterion("SCCJ in", values, "sccj");
            return (Criteria) this;
        }

        public Criteria andSccjNotIn(List<String> values) {
            addCriterion("SCCJ not in", values, "sccj");
            return (Criteria) this;
        }

        public Criteria andSccjBetween(String value1, String value2) {
            addCriterion("SCCJ between", value1, value2, "sccj");
            return (Criteria) this;
        }

        public Criteria andSccjNotBetween(String value1, String value2) {
            addCriterion("SCCJ not between", value1, value2, "sccj");
            return (Criteria) this;
        }

        public Criteria andCfwzIsNull() {
            addCriterion("CFWZ is null");
            return (Criteria) this;
        }

        public Criteria andCfwzIsNotNull() {
            addCriterion("CFWZ is not null");
            return (Criteria) this;
        }

        public Criteria andCfwzEqualTo(String value) {
            addCriterion("CFWZ =", value, "cfwz");
            return (Criteria) this;
        }

        public Criteria andCfwzNotEqualTo(String value) {
            addCriterion("CFWZ <>", value, "cfwz");
            return (Criteria) this;
        }

        public Criteria andCfwzGreaterThan(String value) {
            addCriterion("CFWZ >", value, "cfwz");
            return (Criteria) this;
        }

        public Criteria andCfwzGreaterThanOrEqualTo(String value) {
            addCriterion("CFWZ >=", value, "cfwz");
            return (Criteria) this;
        }

        public Criteria andCfwzLessThan(String value) {
            addCriterion("CFWZ <", value, "cfwz");
            return (Criteria) this;
        }

        public Criteria andCfwzLessThanOrEqualTo(String value) {
            addCriterion("CFWZ <=", value, "cfwz");
            return (Criteria) this;
        }

        public Criteria andCfwzLike(String value) {
            addCriterion("CFWZ like", value, "cfwz");
            return (Criteria) this;
        }

        public Criteria andCfwzNotLike(String value) {
            addCriterion("CFWZ not like", value, "cfwz");
            return (Criteria) this;
        }

        public Criteria andCfwzIn(List<String> values) {
            addCriterion("CFWZ in", values, "cfwz");
            return (Criteria) this;
        }

        public Criteria andCfwzNotIn(List<String> values) {
            addCriterion("CFWZ not in", values, "cfwz");
            return (Criteria) this;
        }

        public Criteria andCfwzBetween(String value1, String value2) {
            addCriterion("CFWZ between", value1, value2, "cfwz");
            return (Criteria) this;
        }

        public Criteria andCfwzNotBetween(String value1, String value2) {
            addCriterion("CFWZ not between", value1, value2, "cfwz");
            return (Criteria) this;
        }

        public Criteria andSyzkIsNull() {
            addCriterion("SYZK is null");
            return (Criteria) this;
        }

        public Criteria andSyzkIsNotNull() {
            addCriterion("SYZK is not null");
            return (Criteria) this;
        }

        public Criteria andSyzkEqualTo(String value) {
            addCriterion("SYZK =", value, "syzk");
            return (Criteria) this;
        }

        public Criteria andSyzkNotEqualTo(String value) {
            addCriterion("SYZK <>", value, "syzk");
            return (Criteria) this;
        }

        public Criteria andSyzkGreaterThan(String value) {
            addCriterion("SYZK >", value, "syzk");
            return (Criteria) this;
        }

        public Criteria andSyzkGreaterThanOrEqualTo(String value) {
            addCriterion("SYZK >=", value, "syzk");
            return (Criteria) this;
        }

        public Criteria andSyzkLessThan(String value) {
            addCriterion("SYZK <", value, "syzk");
            return (Criteria) this;
        }

        public Criteria andSyzkLessThanOrEqualTo(String value) {
            addCriterion("SYZK <=", value, "syzk");
            return (Criteria) this;
        }

        public Criteria andSyzkLike(String value) {
            addCriterion("SYZK like", value, "syzk");
            return (Criteria) this;
        }

        public Criteria andSyzkNotLike(String value) {
            addCriterion("SYZK not like", value, "syzk");
            return (Criteria) this;
        }

        public Criteria andSyzkIn(List<String> values) {
            addCriterion("SYZK in", values, "syzk");
            return (Criteria) this;
        }

        public Criteria andSyzkNotIn(List<String> values) {
            addCriterion("SYZK not in", values, "syzk");
            return (Criteria) this;
        }

        public Criteria andSyzkBetween(String value1, String value2) {
            addCriterion("SYZK between", value1, value2, "syzk");
            return (Criteria) this;
        }

        public Criteria andSyzkNotBetween(String value1, String value2) {
            addCriterion("SYZK not between", value1, value2, "syzk");
            return (Criteria) this;
        }

        public Criteria andRzrqIsNull() {
            addCriterion("RZRQ is null");
            return (Criteria) this;
        }

        public Criteria andRzrqIsNotNull() {
            addCriterion("RZRQ is not null");
            return (Criteria) this;
        }

        public Criteria andRzrqEqualTo(Date value) {
            addCriterion("RZRQ =", value, "rzrq");
            return (Criteria) this;
        }

        public Criteria andRzrqNotEqualTo(Date value) {
            addCriterion("RZRQ <>", value, "rzrq");
            return (Criteria) this;
        }

        public Criteria andRzrqGreaterThan(Date value) {
            addCriterion("RZRQ >", value, "rzrq");
            return (Criteria) this;
        }

        public Criteria andRzrqGreaterThanOrEqualTo(Date value) {
            addCriterion("RZRQ >=", value, "rzrq");
            return (Criteria) this;
        }

        public Criteria andRzrqLessThan(Date value) {
            addCriterion("RZRQ <", value, "rzrq");
            return (Criteria) this;
        }

        public Criteria andRzrqLessThanOrEqualTo(Date value) {
            addCriterion("RZRQ <=", value, "rzrq");
            return (Criteria) this;
        }

        public Criteria andRzrqIn(List<Date> values) {
            addCriterion("RZRQ in", values, "rzrq");
            return (Criteria) this;
        }

        public Criteria andRzrqNotIn(List<Date> values) {
            addCriterion("RZRQ not in", values, "rzrq");
            return (Criteria) this;
        }

        public Criteria andRzrqBetween(Date value1, Date value2) {
            addCriterion("RZRQ between", value1, value2, "rzrq");
            return (Criteria) this;
        }

        public Criteria andRzrqNotBetween(Date value1, Date value2) {
            addCriterion("RZRQ not between", value1, value2, "rzrq");
            return (Criteria) this;
        }

        public Criteria andYsjzIsNull() {
            addCriterion("YSJZ is null");
            return (Criteria) this;
        }

        public Criteria andYsjzIsNotNull() {
            addCriterion("YSJZ is not null");
            return (Criteria) this;
        }

        public Criteria andYsjzEqualTo(BigDecimal value) {
            addCriterion("YSJZ =", value, "ysjz");
            return (Criteria) this;
        }

        public Criteria andYsjzNotEqualTo(BigDecimal value) {
            addCriterion("YSJZ <>", value, "ysjz");
            return (Criteria) this;
        }

        public Criteria andYsjzGreaterThan(BigDecimal value) {
            addCriterion("YSJZ >", value, "ysjz");
            return (Criteria) this;
        }

        public Criteria andYsjzGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("YSJZ >=", value, "ysjz");
            return (Criteria) this;
        }

        public Criteria andYsjzLessThan(BigDecimal value) {
            addCriterion("YSJZ <", value, "ysjz");
            return (Criteria) this;
        }

        public Criteria andYsjzLessThanOrEqualTo(BigDecimal value) {
            addCriterion("YSJZ <=", value, "ysjz");
            return (Criteria) this;
        }

        public Criteria andYsjzIn(List<BigDecimal> values) {
            addCriterion("YSJZ in", values, "ysjz");
            return (Criteria) this;
        }

        public Criteria andYsjzNotIn(List<BigDecimal> values) {
            addCriterion("YSJZ not in", values, "ysjz");
            return (Criteria) this;
        }

        public Criteria andYsjzBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("YSJZ between", value1, value2, "ysjz");
            return (Criteria) this;
        }

        public Criteria andYsjzNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("YSJZ not between", value1, value2, "ysjz");
            return (Criteria) this;
        }

        public Criteria andYjsynxIsNull() {
            addCriterion("YJSYNX is null");
            return (Criteria) this;
        }

        public Criteria andYjsynxIsNotNull() {
            addCriterion("YJSYNX is not null");
            return (Criteria) this;
        }

        public Criteria andYjsynxEqualTo(Integer value) {
            addCriterion("YJSYNX =", value, "yjsynx");
            return (Criteria) this;
        }

        public Criteria andYjsynxNotEqualTo(Integer value) {
            addCriterion("YJSYNX <>", value, "yjsynx");
            return (Criteria) this;
        }

        public Criteria andYjsynxGreaterThan(Integer value) {
            addCriterion("YJSYNX >", value, "yjsynx");
            return (Criteria) this;
        }

        public Criteria andYjsynxGreaterThanOrEqualTo(Integer value) {
            addCriterion("YJSYNX >=", value, "yjsynx");
            return (Criteria) this;
        }

        public Criteria andYjsynxLessThan(Integer value) {
            addCriterion("YJSYNX <", value, "yjsynx");
            return (Criteria) this;
        }

        public Criteria andYjsynxLessThanOrEqualTo(Integer value) {
            addCriterion("YJSYNX <=", value, "yjsynx");
            return (Criteria) this;
        }

        public Criteria andYjsynxIn(List<Integer> values) {
            addCriterion("YJSYNX in", values, "yjsynx");
            return (Criteria) this;
        }

        public Criteria andYjsynxNotIn(List<Integer> values) {
            addCriterion("YJSYNX not in", values, "yjsynx");
            return (Criteria) this;
        }

        public Criteria andYjsynxBetween(Integer value1, Integer value2) {
            addCriterion("YJSYNX between", value1, value2, "yjsynx");
            return (Criteria) this;
        }

        public Criteria andYjsynxNotBetween(Integer value1, Integer value2) {
            addCriterion("YJSYNX not between", value1, value2, "yjsynx");
            return (Criteria) this;
        }

        public Criteria andYjjczIsNull() {
            addCriterion("YJJCZ is null");
            return (Criteria) this;
        }

        public Criteria andYjjczIsNotNull() {
            addCriterion("YJJCZ is not null");
            return (Criteria) this;
        }

        public Criteria andYjjczEqualTo(BigDecimal value) {
            addCriterion("YJJCZ =", value, "yjjcz");
            return (Criteria) this;
        }

        public Criteria andYjjczNotEqualTo(BigDecimal value) {
            addCriterion("YJJCZ <>", value, "yjjcz");
            return (Criteria) this;
        }

        public Criteria andYjjczGreaterThan(BigDecimal value) {
            addCriterion("YJJCZ >", value, "yjjcz");
            return (Criteria) this;
        }

        public Criteria andYjjczGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("YJJCZ >=", value, "yjjcz");
            return (Criteria) this;
        }

        public Criteria andYjjczLessThan(BigDecimal value) {
            addCriterion("YJJCZ <", value, "yjjcz");
            return (Criteria) this;
        }

        public Criteria andYjjczLessThanOrEqualTo(BigDecimal value) {
            addCriterion("YJJCZ <=", value, "yjjcz");
            return (Criteria) this;
        }

        public Criteria andYjjczIn(List<BigDecimal> values) {
            addCriterion("YJJCZ in", values, "yjjcz");
            return (Criteria) this;
        }

        public Criteria andYjjczNotIn(List<BigDecimal> values) {
            addCriterion("YJJCZ not in", values, "yjjcz");
            return (Criteria) this;
        }

        public Criteria andYjjczBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("YJJCZ between", value1, value2, "yjjcz");
            return (Criteria) this;
        }

        public Criteria andYjjczNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("YJJCZ not between", value1, value2, "yjjcz");
            return (Criteria) this;
        }

        public Criteria andBzIsNull() {
            addCriterion("BZ is null");
            return (Criteria) this;
        }

        public Criteria andBzIsNotNull() {
            addCriterion("BZ is not null");
            return (Criteria) this;
        }

        public Criteria andBzEqualTo(String value) {
            addCriterion("BZ =", value, "bz");
            return (Criteria) this;
        }

        public Criteria andBzNotEqualTo(String value) {
            addCriterion("BZ <>", value, "bz");
            return (Criteria) this;
        }

        public Criteria andBzGreaterThan(String value) {
            addCriterion("BZ >", value, "bz");
            return (Criteria) this;
        }

        public Criteria andBzGreaterThanOrEqualTo(String value) {
            addCriterion("BZ >=", value, "bz");
            return (Criteria) this;
        }

        public Criteria andBzLessThan(String value) {
            addCriterion("BZ <", value, "bz");
            return (Criteria) this;
        }

        public Criteria andBzLessThanOrEqualTo(String value) {
            addCriterion("BZ <=", value, "bz");
            return (Criteria) this;
        }

        public Criteria andBzLike(String value) {
            addCriterion("BZ like", value, "bz");
            return (Criteria) this;
        }

        public Criteria andBzNotLike(String value) {
            addCriterion("BZ not like", value, "bz");
            return (Criteria) this;
        }

        public Criteria andBzIn(List<String> values) {
            addCriterion("BZ in", values, "bz");
            return (Criteria) this;
        }

        public Criteria andBzNotIn(List<String> values) {
            addCriterion("BZ not in", values, "bz");
            return (Criteria) this;
        }

        public Criteria andBzBetween(String value1, String value2) {
            addCriterion("BZ between", value1, value2, "bz");
            return (Criteria) this;
        }

        public Criteria andBzNotBetween(String value1, String value2) {
            addCriterion("BZ not between", value1, value2, "bz");
            return (Criteria) this;
        }

        public Criteria andLbIsNull() {
            addCriterion("LB is null");
            return (Criteria) this;
        }

        public Criteria andLbIsNotNull() {
            addCriterion("LB is not null");
            return (Criteria) this;
        }

        public Criteria andLbEqualTo(String value) {
            addCriterion("LB =", value, "lb");
            return (Criteria) this;
        }

        public Criteria andLbNotEqualTo(String value) {
            addCriterion("LB <>", value, "lb");
            return (Criteria) this;
        }

        public Criteria andLbGreaterThan(String value) {
            addCriterion("LB >", value, "lb");
            return (Criteria) this;
        }

        public Criteria andLbGreaterThanOrEqualTo(String value) {
            addCriterion("LB >=", value, "lb");
            return (Criteria) this;
        }

        public Criteria andLbLessThan(String value) {
            addCriterion("LB <", value, "lb");
            return (Criteria) this;
        }

        public Criteria andLbLessThanOrEqualTo(String value) {
            addCriterion("LB <=", value, "lb");
            return (Criteria) this;
        }

        public Criteria andLbLike(String value) {
            addCriterion("LB like", value, "lb");
            return (Criteria) this;
        }

        public Criteria andLbNotLike(String value) {
            addCriterion("LB not like", value, "lb");
            return (Criteria) this;
        }

        public Criteria andLbIn(List<String> values) {
            addCriterion("LB in", values, "lb");
            return (Criteria) this;
        }

        public Criteria andLbNotIn(List<String> values) {
            addCriterion("LB not in", values, "lb");
            return (Criteria) this;
        }

        public Criteria andLbBetween(String value1, String value2) {
            addCriterion("LB between", value1, value2, "lb");
            return (Criteria) this;
        }

        public Criteria andLbNotBetween(String value1, String value2) {
            addCriterion("LB not between", value1, value2, "lb");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}